<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<head>
    <title>管理员登录</title>
    <!--引入elementui得样式-->
    <link href="/css/font-awesome/css/font-awesome.min.css" rel="stylesheet">
    <link href="/disk/slidercaptcha.min.css" rel="stylesheet" />
    <link type="text/css" rel="stylesheet" href="/css/index.css"/>
    <!--引入vue得依赖必须再elementui之前引入vue-->
    <script type="text/javascript" src="/js/vue.js"></script>
    <script type="text/javascript" src="/js/index.js"></script>
    <script type="text/javascript" src="/js/axios.min.js"></script>
    <script type="text/javascript" src="/js/qs.min.js"></script>
    <link rel="stylesheet" type="text/css" href="cssu/common.css">
    <link rel="stylesheet" type="text/css" href="cssu/style.css">
    <!-- Bootstrap core CSS -->
    <link href="cssu/bootstrap.min.css" rel="stylesheet"/>
    <link href="cssu/layui.css" rel="stylesheet">
    <script type="text/javascript" src="jsu/jquery-2.0.0.min.js"></script>
    <script src="jsu/bootstrap.bundle.min.js"></script>
    <script src="jsu/layui.js"></script>
    <script type="text/javascript">
        layui.use(['layer', 'form'], function () {
            var layer = layui.layer,
                form = layui.form;
        });
    </script>

</head>
<body>
<div id="main">
    <div class="tou">
        <span>AAA大医院网上预约挂号平台</span>
    </div>
    <div class="yq-location" style="padding: 0px;">
        <div class="yq-w1200 cl">
            <div class="yq-catalog yq-inline">
                <ul>
                    <li><a href="notice.html" target="right">预约须知</a></li>
                    <li><a href="appChoseDept.html" target="right">预约挂号</a></li>
                    <li><a href="quxiaoyuyue.html" target="right">取消预约</a></li>
                    <li><a href="chaxunyuyuejieguo.html" target="right">结果查询</a></li>
                    <li style="padding-left: 422px;"><a >尊敬的用户:{{userInfo.realname}}</a></li>
                    <li><a  style="margin-left: 120px" @click="logout()">注销</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="col-md-11" style="margin: 0; padding: 0; ">
        <iframe src="notice.html" id="iframe" name="right" width="99%" height=900px scrolling="no"
                style=" margin-left: 100px; border: none;  "></iframe>
    </div>

    <div>
        <div class="yq-footer">
            <div class="yq-w1200 cl">
                <div class="yq-links yq-inline">
                    <ul>
                        <li><a href="http://www.nhc.gov.cn/">国家卫生健康委员会</a><i class="yq-vertical-bar">|</i></li>
                        <li><a href="http://www.cma.org.cn/">中华医学会</a><i class="yq-vertical-bar">|</i></li>
                        <li><a href="http://wsjkw.henan.gov.cn/">河南省卫生健康委员会</a><i class="yq-vertical-bar">|</i></li>
                        <li><a href="http://www.haedu.gov.cn/">河南省教育厅</a><i class="yq-vertical-bar">|</i></li>
                        <li><a href="http://www.hnkjt.gov.cn">河南省科技厅</a><i class="yq-vertical-bar">|</i></li>
                        <li><a href="http://www.zzu.edu.cn">某某大学</a></li>
                    </ul>
                </div>
            </div>
            <div class="yq-hr"><span class="yq-hr-inner"></span></div>
            <div class="yq-w1200 cl">
                <div class="yq-copyright">
                    <p><span>监督电话：66913096(工作时间)</span></p>
                    <p><span>咨询电话：(河医院区) 0371-67966263 / 67966266 / 67966261 / 67966262</span><span>(郑东院区) 0371-66278517 / 66278518</span>
                    </p>
                    <p>郑州大学第一附属医院 2008-2019 版权所有 豫ICP备09042695号 豫卫网审[2013]第097号</p>
                    <p>医院地址：郑州市建设东路1号</p>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script>
    var app = new Vue({
        el:"#main",
        data:{
            userInfo:{},
        },
        created(){
            axios.post("user/getUserInfo").then(resp=>{
                console.log(resp.data)
                this.userInfo=resp.data.data
            })
        },
        methods:{
            logout(){
                axios.post("user/logout").then(resp=>{
                    this.$message.success("退出成功")
                    location.href="denglu.html"
                })
            }
        },
    })
</script>
<style>
    .tou{
        /*border: 1px red solid;*/
        height: 100px;
        text-align: center;
        line-height: 100px;
        background: #00c2c4;
        font-size: 40px;
        font-family:隶书;
        color: white;
    }
</style>
</html>
